package cn.ahaiahaixx.dp.factory;

public class WlTeacher extends AbstractTeach {

  @Override
  public void teach() {
    System.out.println(String.format("教师%s正在教授网络知识", getName()));

  }

  public WlTeacher() {
    super();
  }

  public WlTeacher(String name) {
    super(name);
  }

}
